package com.eva.admin.biz.cms.resource.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("创建资源参数")
public class CreateCmsResourceDTO {

    @ApiModelProperty(value="所属组ID")
    private Integer groupId;

    @ApiModelProperty(value="资源标题")
    private String title;

    @ApiModelProperty(value="资源副标题")
    private String subTitle;

    @ApiModelProperty(value="资源描述")
    private String description;

    @ApiModelProperty(value="资源值")
    private String value;

    @ApiModelProperty(value="资源值类型")
    private String valueType;

    @ApiModelProperty(value="排序")
    private Integer sort;

    @ApiModelProperty(value="资源配置")
    private String config;

    @ApiModelProperty(value="是否已禁用")
    private Boolean disabled;

}
